package com.tyk.bookstore.back.payment.model.query;

import com.tyk.bookstore.back.common.core.model.page.PageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author tyk
 * @description 系统余额变更日志
 */
@Data
@Schema(name = "AmountLogPageQuery", description = "系统余额变更日志")
public class AmountLogPageQuery extends PageQuery implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "会员昵称或账号")
    private String memberKeyword;

    @Schema(description = "变更值：起始")
    private BigDecimal modificationFrom;

    @Schema(description = "变更值：终止")
    private BigDecimal modificationTo;

    @Schema(description = "来源标识")
    private Long sourceIdentification;

    @Schema(description = "变更性质[0收入,1支出]")
    private String nature;

    @Schema(description = "变更类型[0充值,1订单支付]")
    private Byte type;

    @Schema(description = "记录时间：起始")
    private LocalDateTime createTimeFrom;

    @Schema(description = "记录时间：终止")
    private LocalDateTime createTimeTo;

}
